package com.li.service;

import com.li.entity.PageResult;
import com.li.entity.QueryPageBean;
import com.li.pojo.Role;

import java.util.List;

public interface RoleService {

    void add(Role role,String[] ids);
    PageResult findByCondition(QueryPageBean queryPageBean);
    void delete(Integer ids);
    Role findById(Integer ids);

    void update(Role role, Integer[] permissionIds, Integer[] menuId);

    List<Role> findAll();
}
